package com.ruoyi.dance.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 页面管理业务对象 dance_page
 *
 * @author ruoyi
 * @date 2024-01-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DancePageBo extends TreeEntity<DancePageBo> {

    /**
     * 编号
     */
    @NotNull(message = "编号不能为空", groups = { EditGroup.class })
    private Long pageId;

    /**
     * 页面标题
     */
    @NotBlank(message = "页面标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 页面描述
     */
    private String description;

    /**
     * 页面关键字
     */
    private String keywords;

    /**
     * 页面地址
     */
    @NotBlank(message = "页面地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String path;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 排序
     */
    private int orderBy;


}
